
	
/****** Object:  Stored Procedure [dbo].tblUserInsert    Script Date: Thursday, October 27, 2011 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sptblUserInsert]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sptblUserInsert]
GO

	
	

/******************************************************************************
**		File: 
**		Name: [dbo].sptblUserInsert
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 27/10/2011 17:41:39
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE [dbo].sptblUserInsert
	@Peoplewise varchar(7),
	@UserName varchar(20),
	@Email varchar(50),
	@LastLoginDate datetime,
	@Role int,
	@Status int
AS

-- THIS STORED PROCEDURE NEEDS TO BE MANUALLY COMPLETED
-- MULITPLE PRIMARY KEY MEMBERS OR NON-GUID/INT PRIMARY KEY

INSERT INTO [dbo].[tblUser] (
	[Peoplewise],
	[UserName],
	[Email],
	[LastLoginDate],
	[Role],
	[Status]
) VALUES (
	@Peoplewise,
	@UserName,
	@Email,
	@LastLoginDate,
	@Role,
	@Status
)

GO
	
